﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DFGK_WMS.Context.Migrations
{
    public partial class 更新移库单 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "AdjustOporate",
                table: "TTransferBinOrders");

            migrationBuilder.DropColumn(
                name: "CustomNo",
                table: "TTransferBinOrders");

            migrationBuilder.DropColumn(
                name: "OrderId",
                table: "TTransferBinOrders");

            migrationBuilder.DropColumn(
                name: "SalesLine",
                table: "TTransferBinOrders");

            migrationBuilder.RenameColumn(
                name: "SalesNo",
                table: "TTransferBinOrders",
                newName: "SchedulingInfo");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "SchedulingInfo",
                table: "TTransferBinOrders",
                newName: "SalesNo");

            migrationBuilder.AddColumn<string>(
                name: "AdjustOporate",
                table: "TTransferBinOrders",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CustomNo",
                table: "TTransferBinOrders",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "OrderId",
                table: "TTransferBinOrders",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SalesLine",
                table: "TTransferBinOrders",
                type: "nvarchar(max)",
                nullable: true);
        }
    }
}
